<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <title>程序员小唐三-首页</title>
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <meta name="description" content="Description">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
  <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/vue.css">
  <link rel="icon" href="./logo.svg?" />
</head>

<body>
  <div id="app"></div>
  <script>
    window.$docsify = {
      alias: {
        // 嵌套的侧边栏
        '/.*/_sidebar.md': '/_sidebar.md',
        '/.*/_navbar.md': '/_navbar.md',
        '/README.md': '/README.md',
      },
      // 配置仓库地址或者 username/repo 的字符串，会在页面右上角渲染一个 GitHub Corner 挂件：
      repo: '',
      // name用于设置文档标题，会显示在侧边栏顶部。有name存在的话可以用logo设置在侧边栏中出现的网站图标：
      name: '程序员小唐三',
      loadSidebar: true,//添加侧边栏
      // 设置目录展开级别 1-6
      subMaxLevel: 3,
      search: 'auto',
      search: {
        maxAge: 86400000,// 过期时间，单位毫秒，默认一天
        paths: 'auto',
        placeholder: '请输入查找内容',
        noData: { '/': '找不到结果' },
        // 搜索标题的最大层级, 1 - 6
        depth: 6,
        // 是否隐藏其他侧边栏内容
        hideOtherSidebarContent: false,
        // 避免搜索索引冲突
        // 同一域下的多个网站之间
        namespace: 'website-1',
        pathNamespaces: ['/zh-cn', '/ru-ru', '/ru-ru/v1'],
        pathNamespaces: /^(\/(zh-cn|ru-ru))?(\/(v1|v2))?/
      },
      // 配置导航栏参数
      loadNavbar: true,
      // 定制封面
      coverpage: true,
      onlyCover: true,
      
      // 字数统计插件
      count: { countable: true, fontsize: '1.2em', color: 'rgb(90,90,90)', language: 'chinese' },
      // 小图标
      plugins: [
        function (hook, vm) {
          hook.beforeEach(function (html) {
            var url = 'https://github.com/QSXLtangsan/xiaofei-web/blob/main/README.md';
            var editHtml = '[📝 EDIT DOCUMENT](' + url + ')\n';
            return editHtml + html + '\n----\nLast modified {docsify-updated} ' + editHtml;
          });
        },
      ],
    }
  </script>

  <!-- Docsify v4 -->
  <script src="//cdn.jsdelivr.net/npm/docsify@4"></script>
  <!-- 全文搜索 -->
  <script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>
  <!-- 代码复制插件 -->
  <script src="//cdn.jsdelivr.net/npm/docsify-copy-code"></script>
  <!-- Zoom image - 图片缩放 -->
  <script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/zoom-image.min.js"></script>
  <!-- 字数统计插件 -->
  <script src="//unpkg.com/docsify-count/dist/countable.js"></script>

  <script>
    window.addEventListener('beforeunload', function () {
        localStorage.clear();
    });
  </script>

</body>

</html>